package com.s4j.struts.biz.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name="biz_li_check")
public class BizLiCheck {
	private Long checkId;
	private PatientDoc patient;
	private String xfxhb;
	private String xfxplt;
	private String nxgnpt;
	private String nxgninr;
	private String ggnalt;
	private String ggnalb;
	private String ggtbil;
	private String qtcr;
	private String qtafp;
	private String qtca;
	private String yxx;
	private String bingli;
	private String mzsz;
	private String yzyy;
	
	@OneToOne  
    @JoinColumn(name="patientId",insertable=true,unique=true)
	public PatientDoc getPatient() {
		return patient;
	}

	public void setPatient(PatientDoc patient) {
		this.patient = patient;
	}
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getCheckId() {
		return checkId;
	}

	public void setCheckId(Long checkId) {
		this.checkId = checkId;
	}

	public String getXfxhb() {
		return xfxhb;
	}

	public void setXfxhb(String xfxhb) {
		this.xfxhb = xfxhb;
	}

	public String getXfxplt() {
		return xfxplt;
	}

	public void setXfxplt(String xfxplt) {
		this.xfxplt = xfxplt;
	}

	public String getNxgnpt() {
		return nxgnpt;
	}

	public void setNxgnpt(String nxgnpt) {
		this.nxgnpt = nxgnpt;
	}

	public String getNxgninr() {
		return nxgninr;
	}

	public void setNxgninr(String nxgninr) {
		this.nxgninr = nxgninr;
	}

	public String getGgnalt() {
		return ggnalt;
	}

	public void setGgnalt(String ggnalt) {
		this.ggnalt = ggnalt;
	}

	public String getGgnalb() {
		return ggnalb;
	}

	public void setGgnalb(String ggnalb) {
		this.ggnalb = ggnalb;
	}

	public String getGgtbil() {
		return ggtbil;
	}

	public void setGgtbil(String ggtbil) {
		this.ggtbil = ggtbil;
	}

	public String getQtcr() {
		return qtcr;
	}

	public void setQtcr(String qtcr) {
		this.qtcr = qtcr;
	}

	public String getQtafp() {
		return qtafp;
	}

	public void setQtafp(String qtafp) {
		this.qtafp = qtafp;
	}

	public String getQtca() {
		return qtca;
	}

	public void setQtca(String qtca) {
		this.qtca = qtca;
	}

	public String getYxx() {
		return yxx;
	}

	public void setYxx(String yxx) {
		this.yxx = yxx;
	}

	public String getBingli() {
		return bingli;
	}

	public void setBingli(String bingli) {
		this.bingli = bingli;
	}

	public String getMzsz() {
		return mzsz;
	}

	public void setMzsz(String mzsz) {
		this.mzsz = mzsz;
	}

	public String getYzyy() {
		return yzyy;
	}

	public void setYzyy(String yzyy) {
		this.yzyy = yzyy;
	}
	
	

}
